<template>
  <div style="margin-top: 10px">
    <el-tabs @tab-click="handleClick" v-model="activeName">
      <el-tab-pane label="未提交任务" name="first">
        <RemindPage system="un_commit"></RemindPage>
      </el-tab-pane>
      <el-tab-pane label="驳回任务" name="second">
        <RemindPage system="reject"></RemindPage>
      </el-tab-pane>
      <el-tab-pane label="催办任务" name="third">
        <RemindPage system="press"></RemindPage>
      </el-tab-pane>
      <el-tab-pane label="预超时任务" name="four">
        <RemindPage system="overTime"></RemindPage>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import RemindPage from "../../components/work/RemindPage"

  export default {
    name: "WorkTabs",
    components: {
      RemindPage,
    },
    data() {
      return {
        activeName: 'first'
      }
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    }

  }
</script>

<style scoped>

</style>
